import request from '@/utils/request'

export function cutlistPig(data) {
  return request({
    url: '/pork/getcutinfo',
    method: 'post',
    data
  })
}
export function cutPork(data) {
  return request({
    url: '/pork/cutpork',
    method: 'post',
    data
  })
}
export function deletePork(data) {
  return request({
    url: '/pork/deletepork',
    method: 'post',
    data
  })
}
export function listPork(data) {
  return request({
    url: '/pork/listbyeid',
    method: 'post',
    data
  })
}
export function buyPorkList(data) {
  return request({
    url: '/pork/buylist',
    method: 'post',
    data
  })
}
export function updatePork(data) {
  return request({
    url: '/pork/updatebyid',
    method: 'post',
    data
  })
}
